import styled from "styled-components";

import btnL from "../../../../assets/image/LaneMonitoring/btnL.png";
import btnG from "../../../../assets/image/LaneMonitoring/btnG.png";
import input_bg from "../../../../assets/image/LaneMonitoring/input_bg.png";
import chepai_select_bg from "../../../../assets/image/LaneMonitoring/chepai_select_bg.png";
import message_icon from "../../../../assets/image/LaneMonitoring/message_icon.png";
import jisuanqi_icon from "../../../../assets/image/LaneMonitoring/jisuanqi_icon.png";

export const JianzhunMoadlBox = styled.div`
  padding: 0 3rem;
  box-sizing: border-box;
  .btn {
    width: 8rem;
    height: 4rem;
    background: url(${btnL}) no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fdffff;
    margin-left: 2rem;
    .iconfont {
      font-size: 1.4rem;
      margin-right: 0.8rem;
    }
  }
  .btn:hover {
    background: url(${btnG}) no-repeat;
    background-size: 100% 100%;
    color: #92b2d0;
  }
`;
export const JianzhunMoadlInputBox = styled.div`
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .jiaozunMoadlInputBox_left {
    .button_box {
      width: 8rem;
      height: 4.4rem;
      background: rgba(39, 125, 225, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: Microsoft YaHei;
      font-weight: 400;
      font-size: 1.4rem;
      color: #ffffff;
      position: relative;
      right: 0.2rem;
      cursor: pointer;
      .iconfont {
        font-size: 1.4rem;
        margin-right: 0.8rem;
      }
    }
    .jiaozunMoadlInputBox_left_span {
      font-family: MiSans;
      font-weight: 400;
      font-size: 1.6rem;
      color: #92b2d0;
      margin-right: 2rem;
    }
    .ant-select {
      width: 6.8rem;
      .ant-select-arrow {
        svg {
          color: #5697cc !important;
        }
      }
    }
    .ant-select-selector {
      /* background: url(${chepai_select_bg}); */
      background-size: 100% 100%;
    }
    display: flex;
    align-items: center;
    .ant-input {
      background: url(${input_bg});
      background-size: 100% 100%;
      width: 16.8rem;
      height: 4.4rem;
      &::placeholder {
        color: #5697cc;
      }
    }
  }
`;

export const JiaozhunInfoBox = styled.div`
  width: 85rem;
  height: 52rem;
  background: rgba(12, 30, 55, 0.91);
  border-radius: 1rem;
  margin-top: 3rem;
  .table_box {
    width: 80rem;
    height: 14.4rem;
    border-radius: 0.4rem 0.4rem 0 0;
    border: 0.1rem solid rgba(61, 95, 144, 0.3);
    margin: 0 auto;
    margin-bottom: 1rem;
    table {
      width: 100%;
      th {
        height: 4.4rem;
        background: rgba(17, 41, 76, 0.38);
        font-family: Microsoft YaHei;
        font-weight: 400;
        font-size: 1.4rem;
        color: #92b2d0;
      }
      td {
        text-align: center;
        height: 5rem;
        line-height: 5rem;
        font-family: Adobe Heiti Std;
        font-weight: normal;
        font-size: 1.6rem;
        color: #a4b6d5;
        background-color: rgba(41, 78, 130, 0.38);
        border-bottom: 0.1rem solid rgba(61, 95, 144, 0.3);
      }
    }
  }
`;

export const JiaozhunInfoTitle = styled.div`
  width: 100%;
  height: 5.5rem;
  display: flex;
  align-items: center;
  font-family: MiSans;
  font-weight: 400;
  font-size: 1.6rem;
  color: #d2dfeb;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  .message_icon_box {
    width: 1.8rem;
    height: 1.8rem;
    background: url(${message_icon});
    background-size: 100% 100%;
    margin-right: 1rem;
  }
  .jisuanqi_icon_box {
    width: 1.8rem;
    height: 1.8rem;
    background: url(${jisuanqi_icon});
    background-size: 100% 100%;
    margin-right: 1rem;
  }
`;

export const JisuanBox = styled.div`
  width: 80rem;
  height: 23.4rem;
  background: rgba(17, 41, 76, 0.3);
  border-radius: 0.4rem;
  border: 0.1rem solid rgba(61, 95, 144, 0.3);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  .gongsi {
    width: 76rem;
    height: 7.2rem;
    background: #183155;
    border-radius: 0.1rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    font-family: MiSans;
    font-weight: 400;
    font-size: 1.6rem;
    color: #92b2d0;
    padding: 0 2rem;
    box-sizing: border-box;
  }
  .zhushi_box {
    width: 76rem;
    height: 4rem;
    background: linear-gradient(-2deg, #6b4900 0%);
    margin-top: 2rem;
    line-height: 4rem;
    padding: 0 1rem;
    border-left: 0.3rem solid #e79d00;
    box-sizing: border-box;
    font-family: MiSans;
    font-weight: 400;
    font-size: 1.6rem;
    color: #ededed;
  }
`;

export const JiaozhunStatusActionBox = styled.div`
  width: 76rem;
  height: 4rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  .ant-spin {
    .ant-spin-dot {
      color: #96a8c4;
    }
  }
  .spin_text {
    margin-left: 1rem;
    font-family: MiSans;
    font-weight: 400;
    font-size: 1.6rem;
    color: #92b2d0;
  }
  .status_success_box {
    color: green;
    display: flex;
    align-items: center;
  }
  .status_error_box {
    color: #f4420a;
    display: flex;
    align-items: center;
  }
`;

export const ButtonBox = styled.div`
  width: 8rem;
  height: 4rem;
  background: url(${btnL}) no-repeat;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fdffff;
  float: right;
  margin-right: 4.9rem;

`;
